{menuList}
<br>
<span id="hktime"></span>，<span id="countdownstr"></span>

<form method="post" onsubmit="return chkform(this)" action="op.php?op=agent&fp=bnow4a">
<input type="hidden" name="maxnt101" value={money101}>
<input type="hidden" name="maxnt201" value={money201}>
<input type="hidden" name="maxnt102" value={money102}>
<input type="hidden" name="maxnt202" value={money202}>
<input type="hidden" name="maxnt103" value={money103}>
<input type="hidden" name="maxnt203" value={money203}>
<input type="hidden" name="maxnt104" value={money104}>
<input type="hidden" name="maxnt204" value={money204}>
<input type="hidden" name="maxnt105" value={money105}>
<input type="hidden" name="maxnt205" value={money205}>
<input type="hidden" name="maxnt106" value={money106}>
<input type="hidden" name="maxnt206" value={money206}>
<input type="hidden" name="maxnt107" value={money107}>
<input type="hidden" name="maxnt207" value={money207}>
<input type="hidden" name="maxnt108" value={money108}>
<input type="hidden" name="maxnt208" value={money208}>
<input type="hidden" name="maxnt109" value={money109}>
<input type="hidden" name="maxnt209" value={money209}>
<input type="hidden" name="maxnt110" value={money110}>
<input type="hidden" name="maxnt210" value={money210}>
<input type="hidden" name="maxnt111" value={money111}>
<input type="hidden" name="maxnt211" value={money211}>

<table cellSpacing="1" cellPadding="3" width="800" border="0" bgcolor="#5A79C6">
<tr bgcolor="#c0d6eb">
  <td bgcolor="#c0d6eb" height="28" width="8%" align="center">类别</td>
  <td align="center" bgcolor="#e7ebef" width="11%"><input type="radio" name="type" value=101>１肖 中</td>
  <td align="center" bgcolor="#f1f5f9" width="12%"><input type="radio" name="type" value=201>１肖不中</td>
  <td align="center" bgcolor="#e7ebef" width="11%"><input type="radio" name="type" value=102>２肖 中</td>
  <td align="center" bgcolor="#f1f5f9" width="12%"><input type="radio" name="type" value=202>２肖不中</td>
  <td align="center" bgcolor="#e7ebef" width="11%"><input type="radio" name="type" value=103>３肖 中</td>
  <td align="center" bgcolor="#f1f5f9" width="12%"><input type="radio" name="type" value=203>３肖不中</td>
  <td align="center" bgcolor="#e7ebef" width="11%"><input type="radio" name="type" value=104>４肖 中</td>
  <td align="center" bgcolor="#f1f5f9" width="12%"><input type="radio" name="type" value=204>４肖不中</td>
</tr>
<tr bgcolor="#c0d6eb">
  <td bgcolor="#c0d6eb" height="28" width="8%" align="center">赔率</td>
  <td align="center" bgcolor="#ffffff" width="11%"><font color="#FF0000"><b>{r19_1_01}</b></font></td>
  <td align="center" bgcolor="#ffffff" width="12%"><font color="#FF0000"><b>{r19_2_01}</b></font></td>
  <td align="center" bgcolor="#ffffff" width="11%"><font color="#FF0000"><b>{r19_1_02}</b></font></td>
  <td align="center" bgcolor="#ffffff" width="12%"><font color="#FF0000"><b>{r19_2_02}</b></font></td>
  <td align="center" bgcolor="#ffffff" width="11%"><font color="#FF0000"><b>{r19_1_03}</b></font></td>
  <td align="center" bgcolor="#ffffff" width="12%"><font color="#FF0000"><b>{r19_2_03}</b></font></td>
  <td align="center" bgcolor="#ffffff" width="11%"><font color="#FF0000"><b>{r19_1_04}</b></font></td>
  <td align="center" bgcolor="#ffffff" width="12%"><font color="#FF0000"><b>{r19_2_04}</b></font></td>
</tr>
<tr>
  <td bgcolor="#c0d6eb" height="28" width="8%" align="center">注额<br>输赢</td>
  <td align="center" bgcolor="#ffffff" width="11%"><a href="op.php?op=agent&fp=betlist1&dt1={dt} &dt2={dt} &bettype=19&numbers=1_01&page=-1&order=1">{money101}</a><br>(&nbsp;{win101}&nbsp;)</td>
  <td align="center" bgcolor="#ffffff" width="12%"><a href="op.php?op=agent&fp=betlist1&dt1={dt} &dt2={dt} &bettype=19&numbers=2_01&page=-1&order=1">{money201}</a><br>(&nbsp;{win201}&nbsp;)</td>
  <td align="center" bgcolor="#ffffff" width="11%"><a href="op.php?op=agent&fp=betlist1&dt1={dt} &dt2={dt} &bettype=19&numbers=1_02&page=-1&order=1">{money102}</a><br>(&nbsp;{win102}&nbsp;)</td>
  <td align="center" bgcolor="#ffffff" width="12%"><a href="op.php?op=agent&fp=betlist1&dt1={dt} &dt2={dt} &bettype=19&numbers=2_02&page=-1&order=1">{money202}</a><br>(&nbsp;{win202}&nbsp;)</td>
  <td align="center" bgcolor="#ffffff" width="11%"><a href="op.php?op=agent&fp=betlist1&dt1={dt} &dt2={dt} &bettype=19&numbers=1_03&page=-1&order=1">{money103}</a><br>(&nbsp;{win103}&nbsp;)</td>
  <td align="center" bgcolor="#ffffff" width="12%"><a href="op.php?op=agent&fp=betlist1&dt1={dt} &dt2={dt} &bettype=19&numbers=2_03&page=-1&order=1">{money203}</a><br>(&nbsp;{win203}&nbsp;)</td>
  <td align="center" bgcolor="#ffffff" width="11%"><a href="op.php?op=agent&fp=betlist1&dt1={dt} &dt2={dt} &bettype=19&numbers=1_04&page=-1&order=1">{money104}</a><br>(&nbsp;{win104}&nbsp;)</td>
  <td align="center" bgcolor="#ffffff" width="12%"><a href="op.php?op=agent&fp=betlist1&dt1={dt} &dt2={dt} &bettype=19&numbers=2_04&page=-1&order=1">{money204}</a><br>(&nbsp;{win204}&nbsp;)</td>
</tr>
</table>
<table cellSpacing="1" cellPadding="3" width="800" border="0" bgcolor="#5A79C6">
<tr bgcolor="#c0d6eb">
  <td bgcolor="#c0d6eb" height="28" width="8%" align="center">类别</td>
  <td align="center" bgcolor="#e7ebef" width="11%"><input type="radio" name="type" value=105>５肖 中</td>
  <td align="center" bgcolor="#f1f5f9" width="12%"><input type="radio" name="type" value=205>５肖不中</td>
  <td align="center" bgcolor="#e7ebef" width="11%"><input type="radio" name="type" value=106>６肖 中</td>
  <td align="center" bgcolor="#f1f5f9" width="12%"><input type="radio" name="type" value=206>６肖不中</td>
  <td align="center" bgcolor="#e7ebef" width="11%"><input type="radio" name="type" value=107>７肖 中</td>
  <td align="center" bgcolor="#f1f5f9" width="12%"><input type="radio" name="type" value=207>７肖不中</td>
  <td align="center" bgcolor="#e7ebef" width="11%"><input type="radio" name="type" value=108>８肖 中</td>
  <td align="center" bgcolor="#f1f5f9" width="12%"><input type="radio" name="type" value=208>８肖不中</td>
</tr>
<tr bgcolor="#c0d6eb">
  <td bgcolor="#c0d6eb" height="28" width="8%" align="center">赔率</td>
  <td align="center" bgcolor="#ffffff" width="11%"><font color="#FF0000"><b>{r19_1_05}</b></font></td>
  <td align="center" bgcolor="#ffffff" width="12%"><font color="#FF0000"><b>{r19_2_05}</b></font></td>
  <td align="center" bgcolor="#ffffff" width="11%"><font color="#FF0000"><b>{r19_1_06}</b></font></td>
  <td align="center" bgcolor="#ffffff" width="12%"><font color="#FF0000"><b>{r19_2_06}</b></font></td>
  <td align="center" bgcolor="#ffffff" width="11%"><font color="#FF0000"><b>{r19_1_07}</b></font></td>
  <td align="center" bgcolor="#ffffff" width="12%"><font color="#FF0000"><b>{r19_2_07}</b></font></td>
  <td align="center" bgcolor="#ffffff" width="11%"><font color="#FF0000"><b>{r19_1_08}</b></font></td>
  <td align="center" bgcolor="#ffffff" width="12%"><font color="#FF0000"><b>{r19_2_08}</b></font></td>
</tr>
<tr>
  <td bgcolor="#c0d6eb" height="28" width="8%" align="center">注额<br>输赢</td>
  <td align="center" bgcolor="#ffffff" width="11%"><a href="op.php?op=agent&fp=betlist1&dt1={dt} &dt2={dt} &bettype=19&numbers=1_05&page=-1&order=1">{money105}</a><br>(&nbsp;{win105}&nbsp;)</td>
  <td align="center" bgcolor="#ffffff" width="12%"><a href="op.php?op=agent&fp=betlist1&dt1={dt} &dt2={dt} &bettype=19&numbers=2_05&page=-1&order=1">{money205}</a><br>(&nbsp;{win205}&nbsp;)</td>
  <td align="center" bgcolor="#ffffff" width="11%"><a href="op.php?op=agent&fp=betlist1&dt1={dt} &dt2={dt} &bettype=19&numbers=1_06&page=-1&order=1">{money106}</a><br>(&nbsp;{win106}&nbsp;)</td>
  <td align="center" bgcolor="#ffffff" width="12%"><a href="op.php?op=agent&fp=betlist1&dt1={dt} &dt2={dt} &bettype=19&numbers=2_06&page=-1&order=1">{money206}</a><br>(&nbsp;{win206}&nbsp;)</td>
  <td align="center" bgcolor="#ffffff" width="11%"><a href="op.php?op=agent&fp=betlist1&dt1={dt} &dt2={dt} &bettype=19&numbers=1_07&page=-1&order=1">{money107}</a><br>(&nbsp;{win107}&nbsp;)</td>
  <td align="center" bgcolor="#ffffff" width="12%"><a href="op.php?op=agent&fp=betlist1&dt1={dt} &dt2={dt} &bettype=19&numbers=2_07&page=-1&order=1">{money207}</a><br>(&nbsp;{win207}&nbsp;)</td>
  <td align="center" bgcolor="#ffffff" width="11%"><a href="op.php?op=agent&fp=betlist1&dt1={dt} &dt2={dt} &bettype=19&numbers=1_08&page=-1&order=1">{money108}</a><br>(&nbsp;{win108}&nbsp;)</td>
  <td align="center" bgcolor="#ffffff" width="12%"><a href="op.php?op=agent&fp=betlist1&dt1={dt} &dt2={dt} &bettype=19&numbers=2_08&page=-1&order=1">{money208}</a><br>(&nbsp;{win208}&nbsp;)</td>
</tr>
</table>
<table cellSpacing="1" cellPadding="3" width="800" border="0" bgcolor="#5A79C6">
<tr bgcolor="#c0d6eb">
  <td bgcolor="#c0d6eb" height="28" width="8%" align="center">类别</td>
  <td align="center" bgcolor="#e7ebef" width="11%"><input type="radio" name="type" value=109>９肖 中</td>
  <td align="center" bgcolor="#f1f5f9" width="12%"><input type="radio" name="type" value=209>９肖不中</td>
  <td align="center" bgcolor="#e7ebef" width="11%"><input type="radio" name="type" value=110>10肖 中</td>
  <td align="center" bgcolor="#f1f5f9" width="12%"><input type="radio" name="type" value=210>10肖不中</td>
  <td align="center" bgcolor="#e7ebef" width="11%"><input type="radio" name="type" value=111>11肖 中</td>
  <td align="center" bgcolor="#f1f5f9" width="12%"><input type="radio" name="type" value=211>11肖不中</td>
  <td align="center" bgcolor="#ffffff" width="23%" rowspan="3"><font size=4 color="red"><b>请先选择类别<P>再勾选生肖！</P></b></font></td>
</tr>
<tr bgcolor="#c0d6eb">
  <td bgcolor="#c0d6eb" height="28" width="8%" align="center">赔率</td>
  <td align="center" bgcolor="#ffffff" width="11%"><font color="#FF0000"><b>{r19_1_09}</b></font></td>
  <td align="center" bgcolor="#ffffff" width="12%"><font color="#FF0000"><b>{r19_2_09}</b></font></td>
  <td align="center" bgcolor="#ffffff" width="11%"><font color="#FF0000"><b>{r19_1_10}</b></font></td>
  <td align="center" bgcolor="#ffffff" width="12%"><font color="#FF0000"><b>{r19_2_10}</b></font></td>
  <td align="center" bgcolor="#ffffff" width="11%"><font color="#FF0000"><b>{r19_1_11}</b></font></td>
  <td align="center" bgcolor="#ffffff" width="12%"><font color="#FF0000"><b>{r19_2_11}</b></font></td>
</tr>
<tr>
  <td bgcolor="#c0d6eb" height="28" width="8%" align="center">注额<br>输赢</td>
  <td align="center" bgcolor="#ffffff" width="11%"><a href="op.php?op=agent&fp=betlist1&dt1={dt} &dt2={dt} &bettype=19&numbers=1_09&page=-1&order=1">{money109}</a><br>(&nbsp;{win109}&nbsp;)</td>
  <td align="center" bgcolor="#ffffff" width="12%"><a href="op.php?op=agent&fp=betlist1&dt1={dt} &dt2={dt} &bettype=19&numbers=2_09&page=-1&order=1">{money209}</a><br>(&nbsp;{win209}&nbsp;)</td>
  <td align="center" bgcolor="#ffffff" width="11%"><a href="op.php?op=agent&fp=betlist1&dt1={dt} &dt2={dt} &bettype=19&numbers=1_10&page=-1&order=1">{money110}</a><br>(&nbsp;{win110}&nbsp;)</td>
  <td align="center" bgcolor="#ffffff" width="12%"><a href="op.php?op=agent&fp=betlist1&dt1={dt} &dt2={dt} &bettype=19&numbers=2_10&page=-1&order=1">{money210}</a><br>(&nbsp;{win210}&nbsp;)</td>
  <td align="center" bgcolor="#ffffff" width="11%"><a href="op.php?op=agent&fp=betlist1&dt1={dt} &dt2={dt} &bettype=19&numbers=1_11&page=-1&order=1">{money111}</a><br>(&nbsp;{win111}&nbsp;)</td>
  <td align="center" bgcolor="#ffffff" width="12%"><a href="op.php?op=agent&fp=betlist1&dt1={dt} &dt2={dt} &bettype=19&numbers=2_11&page=-1&order=1">{money211}</a><br>(&nbsp;{win211}&nbsp;)</td>
</tr>
</table>

<table cellSpacing="1" cellPadding="2" width="800" border="0" class=table0>
	<tr>
		<td bgColor="#5a79c6" height="28" width="6%" align="center">
		<div align="center">
			<font color="#ffffff">生肖</font></div>
		</td>
		<td bgColor="#5a79c6" height="28" width="6%" align="center">
		<div align="center">
			<font color="#ffffff">选择</font></div>
		</td>
		<td bgColor="#5a79c6" height="28" width="22%" align="center">
		<div align="center">
			<font color="#ffffff">号码</font></div>
		</td>

		<td bgColor="#5a79c6" height="28" width="6%" align="center">
		<div align="center">
			<font color="#ffffff">生肖</font></div>
		</td>
		<td bgColor="#5a79c6" height="28" width="6%" align="center">
		<div align="center">
			<font color="#ffffff">选择</font></div>
		</td>
		<td bgColor="#5a79c6" height="28" width="22%" align="center">
		<div align="center">
			<font color="#ffffff">号码</font></div>
		</td>

		<td bgColor="#5a79c6" height="28" width="6%" align="center">
		<div align="center">
			<font color="#ffffff">生肖</font></div>
		</td>
		<td bgColor="#5a79c6" height="28" width="6%" align="center">
		<div align="center">
			<font color="#ffffff">选择</font></div>
		</td>
		<td bgColor="#5a79c6" height="28" width="22%" align="center">
		<div align="center">
			<font color="#ffffff">号码</font></div>
		</td>
	</tr>
	<tr>
		<td bgColor="#5a79c6" height="28" align="center"><font color="#ffffff">鼠</font></td>
		<td bgColor="#c0d6eb" height="28" align="center"><input type="checkbox" name="num_1"></td>
		<td bgColor="#e7ebef" height="28" align="center">{num1}</td>
		<td bgColor="#5a79c6" height="28" align="center"><font color="#ffffff">龙</font></td>
		<td bgColor="#c0d6eb" height="28" align="center"><input type="checkbox" name="num_5"></td>
		<td bgColor="#e7ebef" height="28" align="center">{num5}</td>
		<td bgColor="#5a79c6" height="28" align="center"><font color="#ffffff">猴</font></td>
		<td bgColor="#c0d6eb" height="28" align="center"><input type="checkbox" name="num_9"></td>
		<td bgColor="#e7ebef" height="28" align="center">{num9}</td>
	</tr>
	<tr>
		<td bgColor="#5a79c6" height="28" align="center"><font color="#ffffff">牛</font></td>
		<td bgColor="#c0d6eb" height="28" align="center"><input type="checkbox" name="num_2"></td>
		<td bgColor="#e7ebef" height="28" align="center">{num2}</td>
		<td bgColor="#5a79c6" height="28" align="center"><font color="#ffffff">蛇</font></td>
		<td bgColor="#c0d6eb" height="28" align="center"><input type="checkbox" name="num_6"></td>
		<td bgColor="#e7ebef" height="28" align="center">{num6}</td>
		<td bgColor="#5a79c6" height="28" align="center"><font color="#ffffff">鸡</font></td>
		<td bgColor="#c0d6eb" height="28" align="center"><input type="checkbox" name="num_10"></td>
		<td bgColor="#e7ebef" height="28" align="center">{num10}</td>
	</tr>
	<tr>
		<td bgColor="#5a79c6" height="28" align="center"><font color="#ffffff">虎</font></td>
		<td bgColor="#c0d6eb" height="28" align="center"><input type="checkbox" name="num_3"></td>
		<td bgColor="#e7ebef" height="28" align="center">{num3}</td>
		<td bgColor="#5a79c6" height="28" align="center"><font color="#ffffff">马</font></td>
		<td bgColor="#c0d6eb" height="28" align="center"><input type="checkbox" name="num_7"></td>
		<td bgColor="#e7ebef" height="28" align="center">{num7}</td>
		<td bgColor="#5a79c6" height="28" align="center"><font color="#ffffff">狗</font></td>
		<td bgColor="#c0d6eb" height="28" align="center"><input type="checkbox" name="num_11"></td>
		<td bgColor="#e7ebef" height="28" align="center">{num11}</td>
	</tr>
	<tr>
		<td bgColor="#5a79c6" height="28" align="center"><font color="#ffffff">兔</font></td>
		<td bgColor="#c0d6eb" height="28" align="center"><input type="checkbox" name="num_4"></td>
		<td bgColor="#e7ebef" height="28" align="center">{num4}</td>
		<td bgColor="#5a79c6" height="28" align="center"><font color="#ffffff">羊</font></td>
		<td bgColor="#c0d6eb" height="28" align="center"><input type="checkbox" name="num_8"></td>
		<td bgColor="#e7ebef" height="28" align="center">{num8}</td>
		<td bgColor="#5a79c6" height="28" align="center"><font color="#ffffff">猪</font></td>
		<td bgColor="#c0d6eb" height="28" align="center"><input type="checkbox" name="num_12"></td>
		<td bgColor="#e7ebef" height="28" align="center">{num12}</td>
	</tr>
</table>
<br>

<table width=800  cellpadding=1 cellspacing=2 border=1>
  <tr><td class=td5 align=center nowrap>&nbsp;合肖走飞&nbsp;</td><td nowrap>
	<span style="float: left">&nbsp;&nbsp;金额&nbsp;
	<input name=b43 value="{b43}" size=8>&#12288;&#12288;
	<input {startnowdisable} type=submit value="走飞">&#12288;<input type=reset value="清除"></span>
	<span style="float: right">
	<input type=button value="资料刷新" onclick='location.reload()'>&#12288;&#12288;&#12288;&#12288;
	<input type=button value="走飞资料查询" onclick=prot_list6() onmouseout="this.style.color='';" onmouseover="this.style.color='#0CDDFF';"></span>
  </td></tr>
</table>
</form>


<script>
var _nt101 = {money101};
var _nt201 = {money201};
var _nt102 = {money102};
var _nt202 = {money202};
var _nt103 = {money103};
var _nt203 = {money203};
var _nt104 = {money104};
var _nt204 = {money204};
var _nt105 = {money105};
var _nt205 = {money205};
var _nt106 = {money106};
var _nt206 = {money206};
var _nt107 = {money107};
var _nt207 = {money207};
var _nt108 = {money108};
var _nt208 = {money208};
var _nt109 = {money109};
var _nt209 = {money209};
var _nt110 = {money110};
var _nt210 = {money210};
var _nt111 = {money111};
var _nt211 = {money211};

var _r101 = {r19_1_01};
var _r201 = {r19_2_01};
var _r102 = {r19_1_02};
var _r202 = {r19_2_02};
var _r103 = {r19_1_03};
var _r203 = {r19_2_03};
var _r104 = {r19_1_04};
var _r204 = {r19_2_04};
var _r105 = {r19_1_05};
var _r205 = {r19_2_05};
var _r106 = {r19_1_06};
var _r206 = {r19_2_06};
var _r107 = {r19_1_07};
var _r207 = {r19_2_07};
var _r108 = {r19_1_08};
var _r208 = {r19_2_08};
var _r109 = {r19_1_09};
var _r209 = {r19_2_09};
var _r110 = {r19_1_10};
var _r210 = {r19_2_10};
var _r111 = {r19_1_11};
var _r211 = {r19_2_11};

function chkform(f)
{
    var typecheck = 0;
	var numscount = 0;
	var ratecheck = 0;
	var gametype  = 0;
	var chkmaxnt1 = 0;
	var chkmaxnt2 = 0;
	var chinayear = ["", "鼠","牛","虎","兔","龙","蛇","马","羊","猴","鸡","狗","猪"];
	var cc = "";
	var _num = "";
	var a1 = 0;
	var a2 = 0;
	var aa = 0;
    for (i=0; i<f.type.length; i++) {
        if (f.type[i].checked) {
            typecheck = 1;
			ratecheck = f.type[i].value;
        }
    }
    if (typecheck==0) {
        alert("请先选择类别！");
		return false;
    }
    for (i=1; i<13; i++) {
		if (f.all["num_"+i].checked) {
			if (numscount > 0) { _num+=","; }
			_num += chinayear[i];
			numscount++;
		}
	}
	if (ratecheck > 200) {
		gametype = 2;
		ratecheck = ratecheck - 200;
	} else {
		gametype = 1;
		ratecheck = ratecheck - 100;
	}
	switch (ratecheck) {
		case 1:
			chkmaxnt1 = _nt101;
			chkmaxnt2 = _nt201;
			a1 = _r101;
			a2 = _r201;
			break;
		case 2:
			chkmaxnt1 = _nt102;
			chkmaxnt2 = _nt202;
			a1 = _r102;
			a2 = _r202;
			break;
		case 3:
			chkmaxnt1 = _nt103;
			chkmaxnt2 = _nt203;
			a1 = _r103;
			a2 = _r203;
			break;
		case 4:
			chkmaxnt1 = _nt104;
			chkmaxnt2 = _nt204;
			a1 = _r104;
			a2 = _r204;
			break;
		case 5:
			chkmaxnt1 = _nt105;
			chkmaxnt2 = _nt205;
			a1 = _r105;
			a2 = _r205;
			break;
		case 6:
			chkmaxnt1 = _nt106;
			chkmaxnt2 = _nt206;
			a1 = _r106;
			a2 = _r206;
			break;
		case 7:
			chkmaxnt1 = _nt107;
			chkmaxnt2 = _nt207;
			a1 = _r107;
			a2 = _r207;
			break;
		case 8:
			chkmaxnt1 = _nt108;
			chkmaxnt2 = _nt208;
			a1 = _r108;
			a2 = _r208;
			break;
		case 9:
			chkmaxnt1 = _nt109;
			chkmaxnt2 = _nt209;
			a1 = _r109;
			a2 = _r209;
			break;
		case 10:
			chkmaxnt1 = _nt110;
			chkmaxnt2 = _nt210;
			a1 = _r110;
			a2 = _r210;
			break;
		case 11:
			chkmaxnt1 = _nt111;
			chkmaxnt2 = _nt211;
			a1 = _r111;
			a2 = _r211;
			break;
	}
	if (numscount == 0) {
		alert("请选择 "+ratecheck+" 个生肖！");
		return false;
	} else if (numscount < ratecheck) {
		alert("必需选择 "+ratecheck+" 个生肖！");
		return false;
	} else if (numscount > ratecheck) {
		alert("只能选择 "+ratecheck+" 个生肖！");
		return false;
	}

	if (f.b43.value-0 <= 0) {
        alert("走飞金额不可为 0.");
		return false;
    }

	if (gametype==1) {
		aa = a1;
		cc = ratecheck+" 肖 中";
		if (f.b43.value-0 > chkmaxnt1) {
			alert("走飞金额不可大於「"+cc+"」的下注金额！");
			return false;
		}
	} else {
		aa = a2;
		cc = ratecheck+" 肖不中";
		if (f.b43.value-0 > chkmaxnt2) {
			alert("走飞金额不可大於「"+cc+"」的下注金额！");
			return false;
		}
	}
	if (!confirm("合肖走飞内容\n————————\n"+cc+" @ "+aa+"\n"+_num+"\n————————\n金额 "+(f.b43.value-0)+" \n\n是否确定走飞？")) {
		return false;
	}
}

function prot_list6()
{
	var X = (screen.width-700)/2;
	var Y = (screen.Height-424)/2;
	var newwin = window.open("op.php?op=agent&fp=protlists&bmd=6",'WinPopList','menubar=no,status=yes,scrollbars=no,toolbar=no,top='+Y+',left='+X+',width=700,height=424');
}

function nowdate()
{
	document.all.hktime.innerHTML = "香港时间：<b>"+now.getDate()+"日"+d2(now.getHours())+":"+d2(now.getMinutes())+":"+d2(now.getSeconds())+"</b>";
	now.setTime(now.getTime() + 1000);
	setTimeout("nowdate()",1000);
}

function countdown()
{
	var str = "<font color=red><b>已经截止下注！</b></font>";
	if (timestap >= 0) {
		timediff = timestap;
		days = Math.floor(timediff / (60 * 60 * 24));
		timediff -= days * (60 * 60 * 24);
		hours = Math.floor(timediff / (60 * 60));
		timediff -= hours * (60 * 60);
		mins = Math.floor(timediff / (60));
		timediff -= mins * (60);
		secs = Math.floor(timediff);
	
		str = "距离截止下注时间还有 ";
		if (days > 0 ) str += "<b>" + days + "</b> 天 ";
		if (hours > 0) str += "<b>" + hours + "</b> 小时 ";
		if (mins > 0) str += "<b>" + mins + "</b> 分钟 ";
		str += "<b>" + secs + "</b> 秒 ";
		timestap-=1;
	}
	countdownstr.innerHTML =  str;
	setTimeout("countdown()",1000)
}

var timestap = {timestap};
var now = new Date(1000 * {phptime});

nowdate();
countdown();

</script>   